:root{
  --bg0:#0F1115;
  --bg1:#1B202A;

  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --line: rgba(255,255,255,.10);

  --text:#ffffff;
  --muted: rgba(255,255,255,.78);
  --muted2: rgba(255,255,255,.60);

  --accent:#F59A1B;

  --max: 1100px;
  --radius: 18px;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);

  --ease: cubic-bezier(.2,.8,.2,1);
}

*{ box-sizing:border-box; }

html, body{ height:100%; }

body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 18% 6%, rgba(245,154,27,.12), transparent 55%),
    radial-gradient(700px 340px at 85% 12%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(160deg, #1B202A 0%, #131720 35%, #0D0F14 70%, #08090C 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection{
  background: rgba(245,154,27,.25);
}

a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover{
  color: var(--accent);
}

/* Layout */
.container{
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

/* Top header – modern/sticky/glass */
.top{
  padding: 44px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(800px 220px at 20% 0%, rgba(245,154,27,.10), transparent 60%),
    linear-gradient(180deg, rgba(15,17,21,.68), rgba(15,17,21,.18));
  backdrop-filter: blur(12px);

  /* vorher sticky -> jetzt normal */
  position: static;
  top: auto;
  z-index: auto;
}

.backlink{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.backlink:hover{
  color: #fff;
  transform: translateX(-2px);
}

h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.1vw, 44px);
  letter-spacing: .01em;
  line-height: 1.15;
}

.lead{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 78ch;
}

/* Meta chips */
.meta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}

.meta > div{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.muted{ color: var(--muted2); }

/* Content */
.content{
  padding: 30px 0 64px;
}

/* Sections / typography */
section{ margin-top: 26px; }

h2{
  margin: 28px 0 10px;
  font-size: 18px;
  letter-spacing: .01em;
}

p{
  margin: 10px 0;
  line-height: 1.8;
  color: var(--muted);
}

ul{
  margin: 10px 0 10px 18px;
  color: var(--muted);
  line-height: 1.8;
}
li{ margin: 6px 0; }

hr{
  border: none;
  border-top: 1px solid rgba(255,255,255,.10);
  margin: 22px 0;
}

/* Main card */
.box{
  padding: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.box::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(900px 260px at 18% 0%, rgba(245,154,27,.10), transparent 60%);
  pointer-events:none;
  opacity:.9;
}

/* Keep content above the glow */
.box > *{ position: relative; }

.tools{
  margin-top: 34px;
}

/* Grid cards */
.grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tool{
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
  transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.tool:hover{
  transform: translateY(-2px);
  border-color: rgba(245,154,27,.22);
  background: rgba(245,154,27,.06);
}

.tool h3{
  margin: 0 0 8px;
  font-size: 15px;
  color: rgba(255,255,255,.94);
}

.tool p{ margin: 8px 0; }

/* Buttons / actions */
.to-top{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.88);
  transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}

.to-top:hover{
  transform: translateY(-1px);
  border-color: rgba(245,154,27,.35);
  background: rgba(245,154,27,.10);
  color: #fff;
}

/* Footer */
.footer{
  background: rgba(43,47,54,.65);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 18px 0;
  backdrop-filter: blur(10px);
}

.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.80);
  font-size: 14px;
}

.footer-right a{
  color: rgba(255,255,255,.80);
}
.footer-right a:hover{
  color: #fff;
}

.sep{
  opacity:.5;
  margin: 0 8px;
}

/* Responsive */
@media (max-width: 900px){
  .top{ padding: 36px 0 18px; }
  .box{ padding: 18px; }
}

@media (max-width: 800px){
  .grid{ grid-template-columns: 1fr; }
  .meta > div{ width: fit-content; }
}
